package com.cykj.pos.service;

import com.cykj.common.core.domain.AjaxResult;
import com.cykj.pos.domain.AizDeductionRecords;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cykj.pos.domain.AizDeductionWallet;
import com.cykj.pos.domain.dto.TransactionDetailsDTO;

import java.util.List;

/**
 * 未/未激活扣款记录Service接口
 *
 * @author weijianbo
 * @date 2025-03-05
 */
public interface IAizDeductionRecordsService extends IService<AizDeductionRecords> {

    /**
     * 查询列表
     */
    List<AizDeductionRecords> queryList(AizDeductionRecords aizDeductionRecords);

//    AjaxResult appBackDeductionRecords(AizDeductionRecords aizDeductionRecords);

    AjaxResult appBackDeductionRecords(TransactionDetailsDTO detailsDTO);

    AizDeductionWallet getWalletByUserId(Long userId);

    void insertWalletData(AizDeductionWallet aizDeductionWallet_new);

    void updateWalletData(AizDeductionWallet aizDeductionWallet);
}
